package com.example.ruleenginedrools.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("rules")
public class RuleDomain {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String drlContent;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
}
